package cn.tt.core.shiro;

import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.RememberMeAuthenticationToken;

/**
 * @Description
 * @Date 2017/7/29 11:51
 * @Since v1.7
 * @Autor Nick
 */
public class UserAuthenticationToken implements AuthenticationToken, RememberMeAuthenticationToken {

	private String username;
	private String password;
	private boolean rememberMe;

	public UserAuthenticationToken(String username, String password, boolean rememberMe) {}

	@Override
	public boolean isRememberMe() {
		return false;
	}

	@Override
	public Object getPrincipal() {
		return null;
	}

	@Override
	public Object getCredentials() {
		return null;
	}
}
